<rows>
    
    <page>[?php echo $pager->getPage() ?]</page>
    <total>[?php echo $pager->getLastPage() ?]</total>
    <records>[?php echo $pager->count() ?]</records>
    
    [?php foreach ($pager->getResults() as $i => $<?php echo $this->getSingularName() ?>): ?]
        <row id="[?php echo ++$i ?]">
            [?php include_partial('<?php echo $this->getModuleName() ?>/grid_row', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?]
            <?php if ($this->configuration->getValue('list.object_actions')): ?>
                [?php include_partial('<?php echo $this->getModuleName() ?>/grid_row_actions', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'helper' => $helper)) ?]
            <?php endif; ?>
        </row>
    [?php endforeach; ?]       

    
</rows>
    